home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-14
/
chk4hypd.zip
/
READ.ME
< prev
Wrap
Text File
|
1991-12-29
|
1KB
|
24 lines
CHK4HYPD is a very simple program that checks to see whether HyperDisk
v4.20+ is installed. If it is, it returns ERRORLEVEL 1; if not, CHK4HYPD
returns ERRORLEVEL 0. Assembler source is included. Feel free to look at the
code for more details on how CHK4HYPD works, and modify it if you want.
If you have an assembler, and CHK4HYPD isn't working for you and your
version of HyperDisk, there are two hooks in the source that allow you to
assemble three different versions. They differ slightly in how strictly they
check for HyperDisk.
The following example batch file shows how to use CHK4HYPD:
CHK4HYPD
IF ERRORLEVEL 1 GOTO INSTALLED
ECHO HyperDisk is *NOT* installed!
REM Wait for key, install HyperDisk, format a floppy, play music, whatever
GOTO THEEND
:INSTALLED
ECHO HyperDisk *IS* installed!
REM Do something disk-intensive, uninstall it, copy files, whatever
:THEEND
I release this program to the public domain, and give NO WARRANTY AT ALL.
──Michael Shields 12-29-91